package com.softtown.modules.dapai.service;


import com.github.pagehelper.PageInfo;
import com.softtown.common.service.BaseService;
import com.softtown.modules.dapai.dto.CompCityDTO;
import com.softtown.modules.dapai.dto.CompSaleOrderPageDTO;
import com.softtown.modules.dapai.dto.SaleOrderAddOrUpdateDTO;
import com.softtown.modules.dapai.entity.CompCityEntity;
import com.softtown.modules.dapai.entity.CompSaleOrderEntity;
import com.softtown.modules.dapai.vo.CompCityVO;
import com.softtown.modules.dapai.vo.CompSaleOrderVO;
import com.softtown.modules.dapai.vo.SaleOrderCustomerVO;

import java.util.List;


/**
 * @Author: Ding Ya Yong
 * @Description: 销售订单
 * @Date: 2021/12/24 21:18
 * @Param:
 * @return:
 **/
public interface CompSaleOrderService extends BaseService<CompSaleOrderEntity> {

    PageInfo<CompSaleOrderEntity> getSaleOrderPageList(CompSaleOrderPageDTO compSaleOrderPageDTO);

    CompSaleOrderVO getSaleOrderById(Long compId, Long id);

    void  addSaleOrder(SaleOrderAddOrUpdateDTO saleOrderAddOrUpdateDTO);

    void updateSaleOrder(SaleOrderAddOrUpdateDTO saleOrderAddOrUpdateDTO);

    void deleteSaleOrder(Long compId, Long id);
}
